package com.eliza.client.cmd

import com.eliza.client.model.proto.auth.Auth
import kotlinx.serialization.ExperimentalSerializationApi


fun main() {
    val loginRequest = Auth.LoginRequest.newBuilder().setCode("123456").build()
    val loginRequest2 = Auth.LoginRequest.newBuilder().setCode("132457").build()
    val toByteArray = loginRequest.toByteArray()
    loginRequest.toByteArray().forEach {
        println(it)
    }
    println("==========")
    loginRequest2.toByteArray().forEach {
        println(it)
    }

}